Skip to main content

toLower

Type​

function

Summary​

Returns a string converted to all lowercase letters.

Syntax​

the toLower of <stringToConvert>
toLower(<stringToConvert>)

Description​

Use the toLower function to change the case of a string.

Uppercase letters, including special characters with diacritical marks, are converted to the lowercase equivalents. All other characters, including lowercase letters, numbers, punctuation, and special characters with no upper or lower case, are left unchanged by the toLower function.

Parameters​

NameTypeDescription

stringToConvert

string

Any string or expression that evaluates to a string.

Examples​

toLower("This is a 30 test.") -- returns "this is a 30 test."
toLower("NO, MAANA!") -- returns "no, maana!"

Value​

NameTypeDescription

return

The toLower function returns a string the same length as the stringToConvert.

control structure: function

function: numToChar, toUpper

glossary: return

keyword: string

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?